package com.zyy.bridge;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/07/26 00:05
 */
public class Test {
    public static void main(String[] args) {
        //联想笔记本
        Computer computer1 = new Laptop(new Lenovo());
        computer1.info();
        //苹果台式机
        Computer computer2 = new Desktop(new Apple());
        computer2.info();

    }
}
